<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.custom.plm/TR/html4/loose.dtd">
<script>
function search(formaction,id){
	listForm.action=formaction + '?partid=' + document.getElementById("partid").value + "&orgName=" + document.getElementById("orgName").value;
	listForm.submit();
	return true;
}
</script>
<div class="handlerDiv">
<input type="button" value="新建" id="newObj" name="newObj" onclick="window.open('add.do');"/>
<input type="submit" value="删除" id="deleteObj" name="deleteObj" onclick="vertifyCheck('delete.do');"/>
</div>
<div>
	工号:<input type="text" id="partid" class="inputClass" />
	部门:<input type="text" id="orgName" class="inputClass" />
	<input type="submit" value="查询" id="searchObjs" name="searchObjs" onclick="search('list.do');"/>
</div>
<%@include file="/resource/jsp/list_top.jsp"%>
<c:if test="${page.totalCount>0}">
<table width="95%" onmouseover="overIt();" onmouseout="outIt();">
	<tr>
		<td class="listTitle"><input type="checkbox" id="List_Tongle" onclick="checkAll();"></td>
		<td class="listTitle">序号</td>
		<td class="listTitle">工号</td>
		<td class="listTitle">姓名</td>
		<td class="listTitle">邮箱</td>
		<td class="listTitle">组织编码</td>
		<td class="listTitle">上级组织编码</td>
		<td class="listTitle">组织</td>
		<td class="listTitle">岗位编码</td>
		<td class="listTitle">岗位</td>
		<td class="listTitle">职级</td>
		<td class="listTitle">职级名</td>
		<td class="listTitle">上级</td>
		<td class="listTitle">状态</td>
		<td class="listTitle">更新时间</td>
		<td class="listTitle">flag</td>
	</tr>
	<c:forEach items="${page.objList}" var="item" varStatus="vars">
		<a href="view.do?id=${item.id}" target="_blank">
		<tr>
			<td><input type="checkbox" name="List_Selected" value="${item.id}"></td>
			<td>${vars.index + 1}</td>
			<td>${item.id}</td>
			<td>${item.name}</td>
			<td>${item.email}</td>
			<td>${item.unitCode}</td>
			<td>${item.orgParentCode}</td>
			<td>${item.unitName}</td>
			<td>${item.jobCode}</td>
			<td>${item.jobName}</td>
			<td>${item.jobLevelCode}</td>
			<td>${item.jobLevelName}</td>
			<td>${item.leadRole}</td>
			<td>${item.status}</td>
			<td>${item.updateTime}</td>
			<td>${item.hrFlag}</td>
		</tr>
		</a>
	</c:forEach>
</table>
<key:p url="/XSP/custom/plm/hrPLM/list.do${conditional}" page="${page}"></key:p>
</c:if>
<%@include file="/resource/jsp/list_down.jsp"%>
